package com.xbongbong.paas.pojo.workflow.settings;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * @author 吴峰
 * @date 2021/08/30 11:15
 */
@Getter
@Setter
@ToString
public class WorkflowPermissionPojo implements Serializable {

    private static final long serialVersionUID = -3419710909189358334L;
    /**
     * 新建权限
     */
    private Boolean add;
    /**
     * 开启权限
     */
    private Boolean open;
    /**
     * 关闭权限
     */
    private Boolean close;
    /**
     * 编辑权限
     */
    private Boolean edit;
    /**
     * 删除权限
     */
    private Boolean delete;
    /**
     * 是否有工作流权限
     */
    private Boolean workflow;

    public WorkflowPermissionPojo() {
    }

    public WorkflowPermissionPojo(Boolean add, Boolean open, Boolean close, Boolean edit, Boolean delete, boolean workflow) {
        this.add = add;
        this.open = open;
        this.close = close;
        this.edit = edit;
        this.delete = delete;
        this.workflow=workflow;
    }
}
